package club.cearnach.api.service;

import club.cearnach.api.exception.UserException;
import club.cearnach.security.vcode.exception.VerificationModeNotFoundException;

import javax.mail.MessagingException;
import javax.servlet.http.HttpServletRequest;

/**
 * @author 阮胜
 * @date 2018/6/3 15:08
 */
public interface IVerificationCodeService {
    void createAndSend(HttpServletRequest request) throws VerificationModeNotFoundException, UserException, MessagingException;
}
